package com.sali.asyncollection.service.impl;


import com.sali.asyncollection.model.LabelDTO;
import com.sali.asyncollection.model.LabelParam;
import com.sali.asyncollection.service.ILabelService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: zhang hang
 * @date: 2023/3/15 20:50.
 * @version: 1.0
 */
@Service
@Slf4j
public class LabelServiceImpl implements ILabelService {
    @Override
    public LabelDTO queryLabelInfo(LabelParam labelParam) {
        log.info("labelService正在执行，接收到的参数为: {}", labelParam);
        try {
            Thread.sleep(100);
        } catch (InterruptedException ignored) {
        }
        return new LabelDTO(1L, "我是labelName");
    }
}
